package com.toby.ioc.imports;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

/**
 * @desc:
 * @author: toby
 * @date: 2019/7/13 1:56
 */
public class TobyImportSelector implements ImportSelector {
    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {
        //返回全限定类名的数组
        return new String[]{"com.toby.ioc.component.TobyBean"};
    }
}
